<?php
/**
 * Desc:
 * Auth: Shaoming Lu<lushao1012@163.com>
 * Date: 2018/4/11
 * Time: 9:05
 */
namespace echophp\core;

class Sql
{
    private $conn;

    public function __construct($conn)
    {
        $this->conn = $conn;
    }

    public function table($table)
    {
        var_dump($this->conn);

    }

    public function execute($sql)
    {

    }

    public function get()
    {

    }

    public function first()
    {

    }

    public function field($field)
    {

    }


    public function where($where)
    {

    }

    public function alias($alias)
    {

    }

    public function order($order)
    {

    }

    public function group($group)
    {

    }

    public function join($join)
    {

    }

    public function max($column)
    {

    }

    public function min($column)
    {

    }

    public function avg($column)
    {

    }

    public function count($column)
    {

    }

    public function sum($column)
    {

    }
}